﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MpTest
{
    public partial class index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //var code = Request.QueryString["code"];
            //if (!string.IsNullOrEmpty(code))
            //{
            //    var authtoken = WxApi.UserManager.OAuth.GetAuthToken(WxConfig.APPID,WxConfig.APPSECRET, code);
            //}
            //else {
            //    Response.Redirect(WxApi.UserManager.OAuth.GetAuthUrl("wxd7008116979a800d", "http://fanyuip.yicp.io/index.aspx", "1",WxApi.AuthType.snsapi_userinfo));
            //}
        }
    }
}